package com.atguigu.gulimall.order.feign;

import com.atguigu.gulimall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @ClassName CartFeignService
 * @Description TODO
 * @Detail detail
 * @Author MyPC
 * @Date 2020/7/19
 * @Version 1.0
 */
@FeignClient("gulimall-cart")
public interface CartFeignService {
    @GetMapping("/getCurrentUserCartItems")
    List<OrderItemVo> getCurrentUserCartItems();
}
